import com.snbc.util.DateUtil;

import java.util.Calendar;

/**
 * @author shichenguang
 * @desciption 描述
 * @date 2020-04-27 10:28
 */
public class ExpireDate {
    public static void main(String[] args) {
        Calendar calendar = Calendar.getInstance();
        calendar.add(Calendar.DAY_OF_MONTH,-92);
        System.out.println(calendar.get(Calendar.YEAR));
        System.out.println(calendar.get(Calendar.MONTH)+1);
        System.out.println(calendar.get(Calendar.DAY_OF_MONTH));
//        expiredDate = calendar.get(Calendar.YEAR)+ DateUtil.mmdd(calendar);
    }
}
